import request from '@/utils/request'

// 查询企业操作员列表
export function listEnterpriseOper(query) {
  return request({
    url: '/system/enterpriseOper/list',
    method: 'get',
    params: query
  })
}

// 查询企业操作员详细
export function getEnterpriseOper(id) {
  return request({
    url: '/system/enterpriseOper/getInfo/' + id,
    method: 'get'
  })
}


// 修改企业操作员
export function updateEnterpriseOper(data) {
  return request({
    url: '/system/enterpriseOper/edit',
    method: 'post',
    data: data
  })
}

// 删除企业操作员
export function delEnterpriseOper(id) {
  return request({
    url: '/system/enterpriseOper/remove/' + id,
    method: 'get'
  })
}

// 导出企业操作员
export function exportEnterpriseOper(query) {
  return request({
    url: '/system/enterpriseOper/export',
    method: 'get',
    params: query
  })
}
